﻿ 
/* Auto generated: 2009/10/2 10:17:55 */
using System;
using System.Data.Linq;
using System.Data.Linq.Mapping;	

namespace CoolCode.Entities
{        
	[Table( Name = "dbo.sys_MenuInRole")]  
    public partial class MenuInRole  : EntityBase
    {     
         private int _iD;                      
		  
         [Column(DbType = "Int NOT NULL IDENTITY ", IsPrimaryKey = true , IsDbGenerated = true)]   
         public int ID
         {
              get { return _iD; }
              set { _iD = value; }
         }            
             
         private int _menuID;                      
		  
         [Column(CanBeNull = false)]    
         public int MenuID
         {
              get { return _menuID; }
              set { _menuID = value; }
         }            
             
         private string _roleName;                      
		  
         [Column(CanBeNull = false)]    
         public string RoleName
         {
              get { return _roleName; }
              set { _roleName = value; }
         }            
             
         private short _authority;                      
		  
         [Column(CanBeNull = false)]    
         public short Authority
         {
              get { return _authority; }
              set { _authority = value; }
         }            
              
    }            
}
